Deployment on SAP BTP Cloud Foundry
Deployment Steps
Step 1: Build the Docker image
Step 2: Push the image to the container registry
Step 3: Deploy to Cloud Foundry:
cf push -f manifest.docker.yaml
Required Environment Variables
SAP AI Core Credentials
| Variable | Purpose |
|---|---|
AICORE_AUTH_URL | Authentication endpoint for AI Core |
AICORE_CLIENT_ID | Client ID for AI Core OAuth |
AICORE_CLIENT_SECRET | Client secret for AI Core OAuth |
AICORE_BASE_URL | Base URL for AI Core API calls |
SAP HANA DB Credentials
| Variable | Purpose |
|---|---|
HANA_HOST | HANA database host address |
HANA_PORT | HANA database port |
HANA_USER | Database username |
HANA_PASSWORD | Database password |
HANA_SCHEMA | Target schema name |
Tips & Best Practices
- Test locally before deploying
- Rotate credentials carefully
- Validate credentials before deployment
- Check
/agentsafter registration
API Endpoints
| Method | Endpoint | Purpose |
|---|---|---|
POST | /chat/query | Send a query |
POST | /agents/register | Register a new agent |
GET | /agents | List all registered agents |
GET | /docs | Interactive Swagger API documentation |